{% extends 'management.html' %}
{% load i18n %}
	


{% block content %}
  <script type="text/javascript" src="/res/js/tiny_mce/tiny_mce.js"></script>
  <script type="text/javascript">
		initTiny();
  </script>
  
	<div id="detail"
		<form action='/admin/uploadPicture/' method='post' name='addNote' enctype="multipart/form-data">
				<p>{% trans "File" %}:<input name="file" type='file' size="35"/></p>
				<p>{% trans "Name" %}:<input name="displayName" type='text' size="50"/></p>
				<p>{% trans "Public" %}:<input name='isPublic' type='checkbox' value="True"/></p>
				<p>{% trans "Category" %}:
							<select name="category">
							{% for category in categories%}
								<option>{{category.name}}</option>
							{% endfor %}
							</select>
				</p>
				<p>{% trans "Describe" %}:</p>
				<p>
							<textarea id="describe" class="mceEditor" name="describe" rows="20" cols="45" style="width: 70%"></textarea>
				</p>
				<p class="subbutton">
					<input type='submit' value='{% trans "OK" %}' />
					<input type='reset' value='{% trans "Cancel" %}' /> 
				</p>
		</form>
	</div>
{% endblock content %}
